package com.bw.module_home.state

import com.bw.lib_mvicore.IState
import com.bw.module_home.model.entity.SimpleTypeEntity

/**
 * @Author : ZhouZiYao
 * @Time : On 2023/11/22 14:07
 * @Description :
 */
sealed class SimpleTypeState: IState {
    /**
     * 初始情况
     */
    object Init: SimpleTypeState()

    /**
     * 获取失败
     */
    data class Failed(val message: String): SimpleTypeState()

    /**
     *
     */
    data class Success(val list: MutableList<SimpleTypeEntity>): SimpleTypeState()

}